package com.imusic.model.cloudland.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("cloudland_info")
public class CloudlandInfo implements Serializable {

    @TableId(value = "id",type = IdType.ID_WORKER)
    private Long id;

    /**
     * 圈名
     */
    @TableField("name")
    private String name;

    /**
     * 圈主id
     */
    @TableField("admin_id")
    private Integer adminId;

    /**
     * 圈主名
     */
    @TableField("admin_name")
    private String adminName;

    /**
     * 圈状态
     *    1 待审核
     *    2 审核未通过
     *    9 审核通过
     *
     */
    @TableField("status")
    private Short status;

    /**
     * 圈封面
     */
    @TableField("image")
    private String image;

    /**
     * 动态数量
     */
    @TableField("news_conut")
    private Integer newsCount;

    /**
     * 创建时间
     */
    @TableField("created_time")
    private Date createdTime;

    /**
     * 圈成员数量
     */
    @TableField("member_count")
    private Integer memberCount;
}
